#version 330 core
layout (location = 0) in vec3 inPos;

out vec4 gl_Position;
out vec2 pos;

uniform mat4 projMatrix;
uniform mat4 viewMatrix;

void main()
{
	gl_Position = projMatrix * viewMatrix * vec4(inPos, 1.0);
	pos = inPos.xz;
}
